import request from './request'

export const getBanners = () => {
  return request({
    url:'/banner'
  })
}

export const getHotRecommend = (limit) => {
  return request({
    url:'/personalized',
    params:{
      limit
    }
  })
}

export function getNewAlbums(limit) {
  return request({
    url: "/top/album",
    params: {
      limit
    }
  })
}

export function getTopList(idx) {
  return request({
    url: "/top/list",
    params: {
      idx
    }
  })
}